package com.github.wxiaoqi.security.biz.modules.community.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 观点关注
 * 
 * @author centerroot
 * @email ${email}
 * @date 2018-12-28 09:23:00
 */
@Table(name = "cms_topic_customer")
public class CmsTopicCustomer implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Long id;
	
	    //平台编号
    @Column(name = "platform_id")
    private String platformId;
	
	    //用户号
    @Column(name = "customer_id")
    private String customerId;
	
	    //观点编号
    @Column(name = "topic_id")
    private String topicId;
	
	    //关注  0是 1取消
    @Column(name = "follow_status")
    private String followStatus;
	
	    //
    @Column(name = "create_time")
    private Date createTime;
	
	    //
    @Column(name = "update_time")
    private Date updateTime;
	

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：平台编号
	 */
	public void setPlatformId(String platformId) {
		this.platformId = platformId;
	}
	/**
	 * 获取：平台编号
	 */
	public String getPlatformId() {
		return platformId;
	}
	/**
	 * 设置：用户号
	 */
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	/**
	 * 获取：用户号
	 */
	public String getCustomerId() {
		return customerId;
	}
	/**
	 * 设置：观点编号
	 */
	public void setTopicId(String topicId) {
		this.topicId = topicId;
	}
	/**
	 * 获取：观点编号
	 */
	public String getTopicId() {
		return topicId;
	}
	/**
	 * 设置：关注  0是 1取消
	 */
	public void setFollowStatus(String followStatus) {
		this.followStatus = followStatus;
	}
	/**
	 * 获取：关注  0是 1取消
	 */
	public String getFollowStatus() {
		return followStatus;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	@Override
	public String toString() {
		return "CmsTopicCustomer [id=" + id + ", platformId=" + platformId + ", customerId=" + customerId + ", topicId="
				+ topicId + ", followStatus=" + followStatus + ", createTime=" + createTime + ", updateTime="
				+ updateTime + "]";
	}
	
}
